package cn.circle.system.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import cn.circle.system.model.CommodityInfo;
//import cn.circle.system.model.SysCustomer;
//import cn.circle.system.model.SysDepartment;
import cn.circle.system.pagemodel.DataGrid;
import cn.circle.system.pagemodel.PageHelper;

public interface ICommodityInfoService {

	public boolean save(CommodityInfo commodityInfo,MultipartFile file);
	public List<CommodityInfo> findAll();
	//public DataGrid datagrid(PageHelper ph);
	public boolean deleteAll(String ids);
	public boolean removeAll(String ids);
	public List<CommodityInfo> getUser(String id);
	public boolean update(CommodityInfo commodityInfo,MultipartFile file);
	public List<CommodityInfo> getDep();
	DataGrid datagrid(PageHelper ph, CommodityInfo commodityInfo, Double _price, Double price_);
	
}
